package com.tom.jmgd.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tom.jmgd.entity.param.TPdWareStock;
import com.tom.jmgd.entity.param.TWareFromHd;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2024-05-16
 */
@Repository
@Mapper
public interface TPdWareStockMapper extends BaseMapper<TPdWareStock> {
    public List<TPdWareStock> selectByBarcode(@Param("barcode") String barcode,
                                                   @Param("busno") String busno,
                                                   @Param("pdHId") Long pdHId);

    public List<TPdWareStock> selectByWarecode(@Param("warecode") String warecode,
                                                   @Param("busno") String busno,
                                                   @Param("pdHId") Long pdHId);

    public Integer selectCount(@Param("pdHId") Long pdHId);
}

